import request from "@/request";

// 文章列表
export function getArticleList(params) {
  return request.post(`/api/v1/article/list`, params);
}

// 文章详情
export function getArticleDetail(id) {
  return request.get(`/api/v1/article/detail/${id}`);
}

// 文章分类
export function getArticleCategory() {
  return request.get(`/api/v1/article/category`);
}

